projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d001e3
)
icon-browser: Left-align the sidebar
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 17 Apr 2019 01:00:47 +0000
(21:00 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 17 Apr 2019 01:00:47 +0000
(21:00 -0400)
The centered labels just look disorderly.
demos/icon-browser/iconbrowserwin.c
patch
|
blob
|
history
diff --git
a/demos/icon-browser/iconbrowserwin.c
b/demos/icon-browser/iconbrowserwin.c
index b6f3b456e3203e6aea7f8ff0cd1d8276e96b7e77..da795cc11253cd89d783328d2b369177815c514d 100644
(file)
--- a/
demos/icon-browser/iconbrowserwin.c
+++ b/
demos/icon-browser/iconbrowserwin.c
@@
-205,6
+205,7
@@
add_context (IconBrowserWindow *win,
g_hash_table_insert (win->contexts, c->id, c);
row = gtk_label_new (name);
+ gtk_label_set_xalign (GTK_LABEL (row), 0);
g_object_set_data (G_OBJECT (row), "context", c);
gtk_widget_show (row);
g_object_set (row, "margin", 10, NULL);